package hu.cskassai.sad.business.vo;

import java.util.ArrayList;
import java.util.List;

import com.thoughtworks.xstream.annotations.XStreamAlias;

@XStreamAlias(value = "graph")
public class GraphVO {
	
	@XStreamAlias("id")
	private String id;
	
	@XStreamAlias("name")
	private String name;
	
	@XStreamAlias(value = "vertices")
	private List<VertexVO> vertices = new ArrayList<VertexVO>();
	
	@XStreamAlias(value = "edges")
	private List<EdgeVO> edges = new ArrayList<EdgeVO>();
	
	public String getId() {
		return id;
	}
	
	public void setId(final String graphId) {
		this.id = graphId;
	}
	
	public List<VertexVO> getVertices() {
		return vertices;
	}
	
	public void setVertices(final List<VertexVO> vertices) {
		this.vertices = vertices;
	}
	
	public List<EdgeVO> getEdges() {
		return edges;
	}
	
	public void setEdges(final List<EdgeVO> edges) {
		this.edges = edges;
	}
	
	public String getName() {
		return name;
	}
	
	public void setName(final String name) {
		this.name = name;
	}
	
}
